<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <style type="text/css">
        * {
            font-family: Arial; font-size: 16px;
            -webkit-print-color-adjust: exact;
        }
        table {
            align:center;
            margin: auto;
            border-collapse: collapse;
            table-layout：fixed;
            border-spacing: 0px;
            border-top: 1px solid black;
        }

        tr {
            border-left: 1px solid black;
            background-color: white;
            margin: 0;
            padding: 0;
            page-break-before: always !important;
            page-break-after: always !important;
            page-break-inside: avoid !important;
        }

        td {
            border-right: 1px solid black;
            border-bottom: 1px solid black;
            margin: 0;
            padding: 6px 13px;
            text-align:center;
            word-wrap:break-word;
            word-break:break-all;
            display:table-cell;
            vertical-align:middle;
        }
        p {
            padding: 3px 0 3px 0;
            margin-block-start:  0em;
            margin-block-end: 0em;
        }
        .tag {
            text-align: center;
            argin-top: 0;
            margin-bottom: 0;
        }
        @media screen and (min-width: 914px) {
            body {
                width: 854px;
                margin:0 auto;
            }
        }
        @media print {
            table, pre {
                page-break-inside: avoid;
            }
            pre {
                word-wrap: break-word;
            }
        }
    </style>
</head>
<body>
<table>
    <tbody>
    <tr>
        <td colspan="10"><p class="tag"><span style="font-size: 18pt; font-weight: bold;">集中采购项目委托单</span></p></td>
    </tr>
    <tr>
        <td colspan="10"><p class="tag" style="text-align: right;"><span style="font-size: 10pt; font-weight: bold;">单位：元</span></p></td>
    </tr>
    <tr>
        <td colspan="2"><p class="tag"><span>委托单位（公章）</span></p></td>
        <td colspan="2" style="position: relative"><p class="tag"><span></span></p></td>
        <img  style="position: absolute;top:1%;left:18%;z-index: 9999" src="{$data['seal']}" />
        <td><p class="tag"><span>单位地址</span></p></td>
        <td colspan="5"><p class="tag"><span>{$data['address']}</span></p></td>
    </tr>
    <tr>
        <td colspan="2"><p class="tag"><span>单位负责人（签字）</span></p></td>
        <td colspan="2"><p class="tag"><span><img style="vertical-align:middle;" src="{$data['sign']}" /></span></p></td>
        <td><p class="tag"><span>经办人</span></p></td>
        <td colspan="2"><p class="tag"><span>{$data['agent']}</span></p></td>
        <td><p class="tag"><span>联系电话</span></p></td>
        <td colspan="2"><p class="tag"><span>{$data['mobile']}</span></p></td>
    </tr>
    <tr>
        <td width="7%"><p class="tag"><span>序号</span></p></td>
        <td><p class="tag"><span>公司名称</span></p></td>
        <td><p class="tag"><span>采购物品名称</span></p></td>
        <td width="10%"><p class="tag"><span>分类</span></p></td>
        <td><p class="tag"><span>产地类型</span></p></td>
        <td width="10%"><p class="tag"><span>预算</span></p></td>
        <td><p class="tag"><span>预算项目名称</span></p></td>
        <td><p class="tag"><span>资金性质</span></p></td>
        <td><p class="tag"><span>明细科目</span></p></td>
        <td><p class="tag"><span>备注</span></p></td>
    </tr>
    <tr>
        <td colspan="2"><p class="tag"><span>合计</span></p></td>
        <td><p class="tag"><span></span></p></td>
        <td><p class="tag"><span></span></p></td>
        <td><p class="tag"><span></span></p></td>
        <td><p class="tag"><span>{$data['budget']}</span></p></td>
        <td><p class="tag"><span></span></p></td>
        <td><p class="tag"><span></span></p></td>
        <td><p class="tag"><span></span></p></td>
        <td><p class="tag"><span></span></p></td>
    </tr>
    {foreach $dataRow as $row}
    <tr>
        <td><p class="tag"><span>{$row['rowNumber']}</span></p></td>
        <td><p class="tag"><span>{$row['dept']}</span></p></td>
        <td><p class="tag"><span>{$row['name']}</span></p></td>
        <td><p class="tag"><span>{$row['type']}</span></p></td>
        <td><p class="tag"><span>{$row['producing_area']}</span></p></td>
        <td><p class="tag"><span>{$row['budget']}</span></p></td>
        <td><p class="tag"><span>{$row['budget_item_name']}</span></p></td>
        <td><p class="tag"><span>{$row['funds_type']}</span></p></td>
        <td><p class="tag"><span>{$row['detail']}</span></p></td>
        <td><p class="tag"><span>{$row['other']}</span></p></td>
    </tr>
    {/foreach}
    </tbody>
</table>
</body>
</html>